import Disaster from './Disaster.js'
import Election from './Election.js'
import MilitaryConflict from './MilitaryConflict.js'
import SportsEvent from './SportsEvent.js'

export default {
  name: 'Event',
  children: {
    Disaster,
    Election,
    MilitaryConflict,
    SportsEvent,
  },
  //
  categories: {
    mapping: [
      'years in literature',
      'years in music',
      'years in film',
      'united states supreme court cases',
      'leap years in the gregorian calendar',
      "governor general's awards",
      'eurovision song contest by year',
      'grammy awards ceremonies',
      'united kingdom in the eurovision song contest',
      'manned soyuz missions',
      'american civil liberties union litigation',
      'may',
      'october',
      'missions to the moon',
      'world war ii british commando raids',
      'july',
      'december',
      'september',
      'november',
      'january',
      'june',
      'august',
      'april',
      'february',
      'march',
      'conflicts in 1944',
      'missions to mars',
      'luna program',
      'conflicts in 1942',
      'special air service',
      'soft landings on the moon',
      'may observances',
      'first events',
      'recent years',
      'elections not won by the popular vote winner',
      'conflicts in 1864',
      '1862 in the american civil war',
      'new york (state) in the american revolution',
      'march observances',
      'public holidays in the united states',
      '1944 in france',
      'december observances',
      '20th century american trials',
      'african-american civil rights movement (1954–68)',
      'october observances',
      'spring holidays',
      'years in aviation',
      'national days',
      'summer holidays',
      'apollo program',
    ],
    patterns: [/^(19|20)[0-9]{2} in /, /^(years of the )?[0-9]{1,2}(st|nd|rd|th)? century in ./],
  },
  //
  descriptions: {
    patterns: [],
  },
  //
  infoboxes: {
    mapping: [
      'australian_year',
      'beauty_pageant',
      'civil_conflict',
      'coa_case',
      'concert_tour',
      'court_case',
      'esc_national_year',
      'event',
      'grand_prix_motorcycle_race_report',
      'grand_prix_race_report',
      'historical_era',
      'historical_event',
      'holiday',
      'horseraces',
      'individual_darts_tournament',
      'individual_snooker_tournament',
      'indy500',
      'international_handball_competition',
      'international_labour_organization_convention',
      'legislative_term',
      'music_festival',
      'national_political_convention',
      'nfl_draft',
      'pba_draft',
      'reality_music_competition',
      'recurring_event',
      'referendum',
      'scotus_case',
      'song_contest',
      'summit',
    ],
    patterns: [],
  },
  //
  sections: {
    mapping: [
      'aftermath',
      'births',
      'deaths',
      'battle',
      'results',
      'prelude',
      'may',
      'june',
      'march',
      'december',
      'october',
      'july',
      'august',
      'april',
      'november',
      'february',
      'september',
      'january',
      'incumbents',
      'casualties',
      'july to december',
      'january to june',
      'medal table',
      'campaign',
    ],
    patterns: [],
  },
  //
  templates: {
    mapping: [
      'esc',
      'year nav',
      'year dab',
      'goal',
      'flagiocmedalist',
      'm1 year in topic',
      'year nav topic5',
      'bc year in topic',
      'flagiocathlete',
      'year article header',
    ],
    patterns: [],
  },
  //
  titles: {
    mapping: ['festival', '25 m', 'world war ii', 'conmebol', 'music festival', 'world war i'],
    patterns: [/ \((19|20)[0-9]{2}\)$/],
  },
}
